// ---------------------------------------------------------------------------

#ifndef ModuleInfoH
#define ModuleInfoH
#include <Classes.hpp>
#include <XMLDoc.hpp>
#include <msxmldom.hpp>
#include "GlobalVariable.h"
#include "Encddecd.hpp"
#include "ModuleConf.h"

// ---------------------------------------------------------------------------
class TModuleInfo {
public:
	int Id;
	String Name;
	int Level;
	int ParentId;
	String Code;
	String Conf;
	int ModuleType;
	String Remarks;
	TModuleConf ModuleConf;

	static TModuleInfo __fastcall GetModuleInfo(Classes::TComponent* AOwner, int id);
};
#endif
